package org.eliza.base.rangesx


fun main() {
    val charRange = kotlin.ranges.CharRange('a', 'z')
    println(charRange.contains('c'))
    println(charRange.isEmpty())
    println(charRange == 'a'..'z')
    println(charRange.random())

    val fromClosedRange = LongProgression.fromClosedRange(0, 10, 2)
    println(fromClosedRange)

    val charProgression = kotlin.ranges.CharProgression.fromClosedRange('A', 'Z', 2)
    println(charProgression)
    charProgression.forEach {
        println(it)
    }
}